Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcPpmtFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 4 - 6 items: rate, per, nper, pv, [fv], [type].

Rate is the interest rate per period.

Per specifies the period and must be in the range 1 to nper.

Nper is the total number of payment periods in an annuity.

Pv is the present value �� the total amount that a series of future payments is worth now.

Fv is the future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (zero), that is, the future value of a loan is 0.

Type is the number 0 or 1 and indicates when payments are due.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns the System.Double payment on the principal for a given period for an investment based on periodic, constant payments and a constant interest rate.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcPpmtFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 4 - 6 items: rate, per, nper, pv, [fv], [type].

    Rate is the interest rate per period.

    Per specifies the period and must be in the range 1 to nper.

    Nper is the total number of payment periods in an annuity.

    Pv is the present value �� the total amount that a series of future payments is worth now.

    Fv is the future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (zero), that is, the future value of a loan is 0.

    Type is the number 0 or 1 and indicates when payments are due.

    Return Value

    A System.Double value that indicates the evaluate result.
    See Also